/*
 * Copyright (c) 1997 - 2012 Rakuten, Inc. All Rights Reserved.
 * $Id$
 * Created on 2012/05/24
 */
package com.rakuten.api.mule.model.item;

import java.math.BigDecimal;

import org.codehaus.jackson.annotate.JsonAutoDetect;
import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.annotate.JsonPropertyOrder;
import org.codehaus.jackson.map.annotate.JsonSerialize;

/**
 *
 * @author hayatsu
 */
@JsonPropertyOrder({
	"unitCode",
	"width",
	"height",
	"length"
})
@JsonAutoDetect
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
public class ItemDimension{

	private String unitCode;
	private BigDecimal width;
	private BigDecimal height;
	private BigDecimal length;

	public ItemDimension(){
	}

	public ItemDimension(String unitCode, BigDecimal width, BigDecimal height, BigDecimal length){
		this.unitCode=unitCode;
		this.width=width;
		this.height=height;
		this.length=length;
	}

	public BigDecimal getHeight(){
		return height;
	}

	public void setHeight(BigDecimal height){
		this.height=height;
	}

	public BigDecimal getLength(){
		return length;
	}

	public void setLength(BigDecimal length){
		this.length=length;
	}

	public String getUnitCode(){
		return unitCode;
	}

	public void setUnitCode(String unitCode){
		this.unitCode=unitCode;
	}

	public BigDecimal getWidth(){
		return width;
	}

	public void setWidth(BigDecimal width){
		this.width=width;
	}

}
